<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        table{
            border-collapse: collapse;
        }
    </style>
</head>
<a href="{% url 'usermanage:add' %}">添加</a>
<body>
<form action="{% url 'usermanage:show' %}">
    {% csrf_token %}
    <table border="1" align="center">
        <tr>
            <th>ID</th>
            <th>会员名称</th>
            <th>会员卡类型</th>
            <th>加入时间</th>
        </tr>
        {% for i in pagee.object_list %}
         <tr>
            <td>{{ i.id }}</td>
            <td>{{ i.name }}</td>
            <td>{{ i.ship.name }}</td>
            <td>{{ i.joinDate }}</td>
         </tr>
        {% endfor %}
    </table>
</form>
<div align="center">
    {% for page in pager.page_range %}
        <a href="{% url 'usermanage:show' page=page %}">{{ page }}</a>
    {% endfor %}
</div>




</body>
</html>